package com.tem.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 产品规格条形码
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_code")
@ApiModel(value="ProductCode对象", description="产品规格条形码")
public class ProductCode implements Serializable {
    private static final long serialVersionUID=8678345245676891L;
    @ApiModelProperty(value = "产品规格条形码")
    @TableId(value = "product_code_id", type = IdType.AUTO)
    private Long productCodeId;

    @ApiModelProperty(value = "商家")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "产品id")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty(value = "产品规格id")
    @TableField("product_attribute_value_id")
    private Long productAttributeValueId;

    @ApiModelProperty(value = "二维码 条形码")
    @TableField("pcode")
    private String pcode;


}
